package HomeWork.ooday02;

public class Chicken extends Animal{
    Chicken(String name, String color, int age){
        super(name, color,age);
    }
    void eat(){
        System.out.println(color+"颜色的"+age+"岁的小鸡"+name+"在吃鸡饲料");
    }
    void layEggs(){
        System.out.println(color+"颜色的"+age+"岁的小鸡"+name+"会下蛋");
    }
}
